home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cpptutor.arc
/
TRUCK.HPP
< prev
next >
Wrap
Text File
|
1991-04-28
|
365b
|
19 lines
// Chapter 7 - Program 6
#include "vehicle.hpp"
class truck : public vehicle {
int passenger_load;
float payload;
public:
void init_truck(int how_many = 2, float max_load = 24000.0);
float efficiency(void);
int passengers(void);
};
// Result of execution
//
// (this file cannot be executed)